﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_Cargo_Detail.cs
// 创建时间：2016/11/30
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///商品价格详情表(ERP_Cargo_Detail)数据实体
	/// </summary>
	[Serializable]
	public class ERP_Cargo_Detail
	{
		#region 变量定义
		
		///<summary>
		///详情ID
		///</summary>
		private int _detailId;
		
		///<summary>
		///商品ID
		///</summary>
		private int _cargoId;
		
		///<summary>
		///供应商Id
		///</summary>
		private int _supplyId;
		
		///<summary>
		///供应价格
		///</summary>
		private decimal _supplyprice;
		
		///<summary>
		///状态
		///</summary>
		private int _state;
		
		///<summary>
		///备注
		///</summary>
		private string _remark = String.Empty;
		
		///<summary>
		///录入人
		///</summary>
		private string _inuser = String.Empty;
		
		///<summary>
		///录入时间
		///</summary>
		private string _inDate = String.Empty;
		
		///<summary>
		///停用人
		///</summary>
		private string _delUser = String.Empty;
		
		///<summary>
		///停用时间
		///</summary>
		private string _delDate = String.Empty;
		
		///<summary>
		///停用状态
		///</summary>
		private int _delState;
		#endregion
		
		#region 构造函数

		///<summary>
		///商品价格详情表的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_Cargo_Detail()
		{
 
		}
		///<summary>
		///商品价格详情表
		///</summary>
		public ERP_Cargo_Detail
		(
			int detailId,
			int cargoId,
			int supplyId,
			decimal supplyprice,
			int state,
			string remark,
			string inuser,
			string inDate,
			string delUser,
			string delDate,
			int delState
		)
		{
			_detailId    = detailId;
			_cargoId     = cargoId;
			_supplyId    = supplyId;
			_supplyprice = supplyprice;
			_state       = state;
			_remark      = remark;
			_inuser      = inuser;
			_inDate      = inDate;
			_delUser     = delUser;
			_delDate     = delDate;
			_delState    = delState;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///详情ID
		///</summary>
		public int DetailId
		{
			get {return _detailId;}
			set {_detailId = value;}
		}

		
		///<summary>
		///商品ID
		///</summary>
		public int CargoId
		{
			get {return _cargoId;}
			set {_cargoId = value;}
		}

		
		///<summary>
		///供应商Id
		///</summary>
		public int SupplyId
		{
			get {return _supplyId;}
			set {_supplyId = value;}
		}

		
		///<summary>
		///供应价格
		///</summary>
		public decimal Supplyprice
		{
			get {return _supplyprice;}
			set {_supplyprice = value;}
		}

		
		///<summary>
		///状态
		///</summary>
		public int State
		{
			get {return _state;}
			set {_state = value;}
		}

		
		///<summary>
		///备注
		///</summary>
		public string Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}

		
		///<summary>
		///录入人
		///</summary>
		public string Inuser
		{
			get {return _inuser;}
			set {_inuser = value;}
		}

		
		///<summary>
		///录入时间
		///</summary>
		public string InDate
		{
			get {return _inDate;}
			set {_inDate = value;}
		}

		
		///<summary>
		///停用人
		///</summary>
		public string DelUser
		{
			get {return _delUser;}
			set {_delUser = value;}
		}

		
		///<summary>
		///停用时间
		///</summary>
		public string DelDate
		{
			get {return _delDate;}
			set {_delDate = value;}
		}

		
		///<summary>
		///停用状态
		///</summary>
		public int DelState
		{
			get {return _delState;}
			set {_delState = value;}
		}
	
		#endregion
		
	}
}